package com.project.bean;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.util.List;

/**
 * 采购表实体类
 */
@Data
@Api(tags = "采购视图")
@TableName(value = "sys_purchase")
public class PurchaseBean {

    @ApiModelProperty(value = "编号",hidden = true)
    @TableId(value = "pk_purchaseId")
    private int id;

    @ApiModelProperty(value = "采购日期")
    private LocalDate purchaseDate=LocalDate.now();

    private List<PurchaseProductBean>infoList;
    private UserBean user;
    private SuppliersBean supplier;
}
